# src CMakeLists.txt
# ==================================

#creating lib and groups of the sources files. Then creating target library and installing it for:

# preprocessor
set(iofiles_sources ${iofiles_STAT_SRCS})
add_library(iofileslib ${iofiles_sources})

# ellipitc
set(elliptic_sources ${elliptic_STAT_SRCS})
add_library(ellipticlib ${elliptic_sources})

# hyperbolic
set(hyperbolic_sources ${hyperbolic_STAT_SRCS})
add_library(hyperboliclib ${hyperbolic_sources})

# highorder
set(highorder_sources ${highorder_STAT_SRCS})
add_library(highorderlib ${highorder_sources})

# auxiliar
set(auxiliar_sources ${auxiliar_STAT_SRCS})
add_library(auxiliarlib ${auxiliar_sources})


file(GLOB sources *.cpp)
set(SRCS ${sources} ${SRCS})

file(GLOB headers *.h)
set(HDRS ${headers} ${HDRS})

# ============================================================================================================
# Create main executable
# ============================================================================================================
add_executable(PRS__Proj main.cpp SIMULATION_core.cpp ${HDRS})
target_link_libraries(PRS__Proj iofileslib auxiliarlib ellipticlib hyperboliclib highorderlib)


